package com.itheima.myextends.继承案例_09;
//人类
public class Person {
    private String sid;     //学号
    private String name;    //姓名
    private String age;     //年龄
    private String birthday;    //出生日期

    public Person() {
    }

    public Person(String sid, String name, String age, String birthday) {
        this.sid = sid;
        this.name = name;
        this.age = age;
        this.birthday = birthday;
    }

    public String getSid() {
        return sid;
    }

    public void setSid(String sid) {
        this.sid = sid;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getAge() {
        return age;
    }

    public void setAge(String age) {
        this.age = age;
    }

    public String getBirthday() {
        return birthday;
    }

    public void setBirthday(String birthday) {
        this.birthday = birthday;
    }

    public String show(){
        return sid + "," + name+","+age+","+birthday;
    }
}
